from django.urls import path, include
from api.views import *
from common.views import get_college, get_grade
from university import settings

urlpatterns = [
    path("add_student/", add_student),
    path("del_student/", del_student),
    path("edit_student/", edit_student),
    path("get_student/", get_student),

    path("get_college/", get_college),
    path("get_grade/", get_grade),
]

if settings.DEBUG:

    import debug_toolbar

    urlpatterns.insert(0, path('__debug__/', include(debug_toolbar.urls)))